<%@ page  contentType="text/html; charset=UTF-8"%>
<%@ include file="../public/public.jsp"%>
<jsp:include page="../public/publishCssAndJS.jsp" flush="true"></jsp:include>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link href="<%=path %>/css/uploadify.css" rel="stylesheet" type="text/css" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="<%=path %>/js/commom/jquery.js"></script>
<script type="text/javascript" src="<%=path %>/js/commom/jquery.form.js"></script>
<script type="text/javascript" src="<%=path %>/js/commom/swfobject.js"></script>
<script type="text/javascript" src="<%=path %>/js/commom/jquery.uploadify.js"></script>
<script type="text/javascript" src="<%=path %>/js/commom/util.js"></script>
<script type="text/javascript">
	function towardPage(pageNo) {
		window.location.href = "<%=path %>/periodical/periodical.action?pageForm.pageNo=" + pageNo + "&cmd=main";
	}
</script>
  </head>
  
  <body style="margin: 0px;">

<% int rowColor = 1; 
	int pageSize = ((Integer)valueStack.findValue("pageForm.pageSize")).intValue();
	int pageNo = ((Integer)valueStack.findValue("pageForm.pageNo")).intValue();
	int rowNo = (pageNo-1)*pageSize+1;
%>

	<table class="list_Table" >
			<tr>
				<td class="list_Table_left">
					<img src="<%=path %>/images/dh.gif" />
					[华南交通工程技术]--&nbsp;[<s:property value="magazineName"/>]
				</td>
				<td class="list_Table_right">
					<ss:condition rescode="ApprovedMethods" optcode="WRITE">
					<div style="float: right;">
						<div style="float:right; height:100%; margin-left: 20px;">
							<!-- 
							<input type="button" class='model_buttonInput' value="添加" onclick="goAdd()" title="goAdd" />&nbsp;
							 -->
						</div>
					</div>
				</ss:condition>
				</td>
			</tr>
		</table>

	<br/>




	<center>
	<div style="text-align: center;margin-left:5px;">
    <table cellspacing="1" style="background-color: #999999;width: 99%;font-size:12px;text-align: center;"> 
    	<thead>
    	<s:if test="pagePosition.toLowerCase().equals('top') || pagePosition.toLowerCase().equals('all')">
    		<tr bgcolor="#FFFFFF">
    			<td colspan="3">
    				<ss:page value="pageForm"></ss:page>
    			</td>
    		</tr>
    		</s:if>
    		<tr height="25px;" style="background-color: #A0C6E5;color:white;">
    			<th align="center" width="15%">序号</th>
    			<th align="center" width="50%">论文名称</th>
    			<th align="center" width="35%">作者</th>
    		</tr>
    	</thead>
    	<tbody>
    		<s:set name="yearflag" value=""></s:set>
    		<% rowNo=1; %>
    		<s:iterator value="data">
  				<% 
  				if((rowColor++ %2)==0){ %>
  					<tr onmouseover="changeRowColor(this)" onmouseout="resumeRowColor(this,<%=rowColor%2 %>)" style="background-color: #F8F8F8"  height="25px;">
  				<%}else{ %>
  					<tr onmouseover="changeRowColor(this)" onmouseout="resumeRowColor(this,<%=rowColor%2 %>)" style="background-color: #FFFFFF" height="25px;">
  				<%} %>
    			<td align="center">
    			<%=rowNo++ %>
    			</td>
    			<td>
    				<s:property value="theme"/>
    			</td>
    			<td>
    				<s:property value="author"/>
    			</td>
    			
    			
    		 </tr>
    		</s:iterator>
    	</tbody>
		<tfoot style="background-color: white;">
			<tr>
				<td colspan="3"  height="25px;">
					<!-- 
	    			<input type="button" value="&nbsp;下&nbsp;载&nbsp;" onclick="alert('downLoad')" class='model_buttonInput'/>
	    			 -->
	    			<input type="button" value="&nbsp;返&nbsp;回&nbsp;" onclick="towardPage(${currentPageNo});" class='model_buttonInput'/>
	    		</td>
    		</tr>
    	</tfoot>
    </table>
    <!-- 
    <table cellspacing="1px" class="attachmentTableStyle" width="99%" style="background-color: #999999;width: 99%;font-size:12px;text-align: center;">
				<% int rowNumber = 1; %>
				<s:if test="accessoryList.size() != 0">
					<tr>
						<td colspan="3" class="add_title">
							&nbsp;附&nbsp;件&nbsp;列&nbsp;表&nbsp;
						</td>
					</tr>
					<tr>
						<th  align="center" width=10%">序号</th>
		    			<th  align="center" width=70%">附件名称</th>
		    			<th  align="center" width=10%">操作</th>
	    			</tr>
					<s:iterator value="accessoryList">
			 			<tr>
			 				<td align="center"><%=rowNumber++ %></td>
			 				<td align="center"><s:property value="showName"/> </td>
			 				<td align="center">
			 				<a onclick="javascript:download('<s:property value="showName"/>','<s:property value="path"/>','<s:property value="attachmentName"/>','<%=path%>')" >[下载]</a>
			 			</td>
			 			</tr>
					 </s:iterator>
					 <tr>
					 	<td colspan="3" height="25px;">&nbsp;</td>
					 </tr>
				</s:if>
			</table>
			 -->
			</div>
			</center>
    </body>
    </html>
    
    
    
    
    